package com.apartment.own.service;

import java.util.List;
import com.apartment.own.domain.OwnOrdExtraCharge;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 额外费用Service接口
 * 
 * @author @Dog_E
 * @date 2020-08-28
 */
public interface IOwnOrdExtraChargeService extends IService<OwnOrdExtraCharge>
{
    /**
     * 查询额外费用
     * 
     * @param id 额外费用ID
     * @return 额外费用
     */
    public OwnOrdExtraCharge selectOwnOrdExtraChargeById(Long id);

    /**
     * 查询额外费用列表
     * 
     * @param ownOrdExtraCharge 额外费用
     * @return 额外费用集合
     */
    public List<OwnOrdExtraCharge> selectOwnOrdExtraChargeList(OwnOrdExtraCharge ownOrdExtraCharge);

    /**
     * 新增额外费用
     * 
     * @param ownOrdExtraCharge 额外费用
     * @return 结果
     */
    public int insertOwnOrdExtraCharge(OwnOrdExtraCharge ownOrdExtraCharge);

    /**
     * 修改额外费用
     * 
     * @param ownOrdExtraCharge 额外费用
     * @return 结果
     */
    public int updateOwnOrdExtraCharge(OwnOrdExtraCharge ownOrdExtraCharge);

    /**
     * 批量删除额外费用
     * 
     * @param ids 需要删除的额外费用ID
     * @return 结果
     */
    public int deleteOwnOrdExtraChargeByIds(Long[] ids);

    /**
     * 删除额外费用信息
     * 
     * @param id 额外费用ID
     * @return 结果
     */
    public int deleteOwnOrdExtraChargeById(Long id);
}
